Quit Panel

An application should never require confirmation of a Quit command unless it has unsaved documents or terminating the application might be destructive to ongoing processes (e.g., a shell, drawing in the background, etc.).  In other words, the Quit command should not bring up an attention panel unless quitting might have adverse and unintended consequences for the user.

However, when the user quits an application that does have edited but unsaved documents, the application must bring up a Quit panel informing the user of this fact and permit the user to confirm or cancel the operation.  The panel should have a Cancel button, a Quit Anyway button, and a Review Unsaved button that cycles through unsaved documents, letting users decide which ones to save before quitting.  The buttons are arranged as follows:

	Cancel	Quit Anyway	Review Unsaved

An application could also add a Save All button that saves every unsaved document, exactly as the Save All command does.

Review Unsaved is the default button.  It brings up a Review Unsaved panel for each unsaved document.  This panel is essentially the same as the Close panel described above, though with a different name to reflect the different manner in which it's invoked.

The Cancel button in the Review Unsaved panel cancels the review process and returns the user to the Quit panel.  Once the user has finished cycling through all the documents (without clicking Cancel), the application quits.